<div class="form">
    <div class="gap"></div>


    <?php
    $form = $this->beginWidget('GxActiveForm', array(
        'id' => 'courses-details-form',
        'enableAjaxValidation' => false,
        'htmlOptions' => array('class' => "form-horizontal", 'role' => 'form')
    ));
    ?>
    <section class="form-step1">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">Course details (4/5)</h3>
                        </div>
                        <div class="panel-body">
                            <div class="col-lg-10">

                                <p class="note">
                                    <?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
                                </p>


                                <div class="form-group">

                                    <div class="col-sm-5 control-label">
                                        <?php echo $form->labelEx($model, 'name_of_course'); ?>
                                    </div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'name_of_course', array('maxlength' => 145)); ?>
                                        <?php echo $form->error($model, 'name_of_course'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-5 control-label">
                                        <?php echo $form->labelEx($model, 'no_of_student_in_class'); ?>
                                    </div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'no_of_student_in_class', array('maxlength' => 45)); ?>
                                        <?php echo $form->error($model, 'no_of_student_in_class'); ?>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-5 control-label">
                                        <?php echo $form->labelEx($model, 'year_of_study'); ?>
                                    </div>
                                    <div class="col-sm-5">
                                        <?php echo $form->textField($model, 'year_of_study', array('maxlength' => 45)); ?>
                                        <?php echo $form->error($model, 'year_of_study'); ?>
                                    </div>
                                </div>

                                <div class="gap"></div>
                                <div class="gap"></div>  

                            </div>
                            <div class="col-lg-2"></div>

                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="button-cont">
                                        <a href="<?php echo yii::app()->createUrl('onlineAffidavit/step4'); ?>" class="read-more pull-left">PREV</a>
                                        <?php
                                        echo CHtml::submitButton(Yii::t('app', 'NEXT'), array('class' => 'read-more pull-right'));
                                        ?>  </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>

        </div>
    </section>

    <?php
    $this->endWidget();
    ?></div>
<div class="gap"></div>
<div class="gap"></div>
<div class="gap"></div>
<div class="gap"></div>